<!DOCTYPE html>
<html>
<head>
    <meta charset='UTF-8'>
    <title>display内联与块</title>
    <style>
        span.block {
            display: block;
        }
        div.in{
            display: inline;
        }
    </style>
</head>
<body>
    <span class="block">i am span, i am block</span>
    <span class="block">fuck you span block</span>
    <hr>
    <div class="in">i am inline</div>
    <div class="in">fuck you div inline</div>
</body>